package tani.bnn.com.mbilling.core;

import java.util.List;

public class Sale {
	private	int		id;
	private	int		total;
	private Customer	customer; 
	private	List<SaleDetail> saleDetails;
	/**
	 * @return the id
	 */
	public int getId() {
		return id;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(int id) {
		this.id = id;
	}
	/**
	 * @return the total
	 */
	public int getTotal() {
		return total;
	}
	/**
	 * @param total the total to set
	 */
	public void setTotal(int total) {
		this.total = total;
	}
	/**
	 * @return the customer
	 */
	public Customer getCustomer() {
		return customer;
	}
	/**
	 * @param customer the customer to set
	 */
	public void setCustomer(Customer customer) {
		this.customer = customer;
	}
	/**
	 * @return the saleDetails
	 */
	public List<SaleDetail> getSaleDetails() {
		return saleDetails;
	}
	/**
	 * @param saleDetails the saleDetails to set
	 */
	public void setSaleDetails(List<SaleDetail> saleDetails) {
		this.saleDetails = saleDetails;
	}
}
